<!doctype html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?php echo $cfg_webname; ?>- 会员登录</title>

<link href="/templets/nbbmobi/style/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="templets/style/login.css" rel="stylesheet" type="text/css" />
<script src="templets/js/j.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	$('#ver_code').css('visibility','visible');
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;
}

</script>
</head>
<body>
<div class="container-xl py-3">
  <div class="row">

    <span>
    <script type="text/javascript">
 var now=(new Date()).getHours();
 if(now>0&&now<=6){
document.write("午夜好，");
 }else if(now>6&&now<=11){
 document.write("早上好，");
 }else if(now>11&&now<=14){
 document.write("中午好，");
 }else if(now>14&&now<=18){
 document.write("下午好，");
 }else{
 document.write("晚上好，");
 }
</script>
    <i class="float-left"> 游客&nbsp;</i> 你可以选择&nbsp;</span>
    <ul class="list-inline">
      <li class="list-inline-item"> <a title="网站主页" href="../">网站主页</a> </li>
      <li class="list-inline-item"> <a title="注册" href="../member/index_do.php?fmdo=user&dopost=regnew">注册</a> </li>
      <li class="list-inline-item"> <a title="登录" href="../member/login.php">登录</a> </li>
    </ul>
	</div>
</div>
<div class="container-xl">
<div class="row">
  <div class=""> <a href="./"> <img  style="margin:8px 0 0 25px;"alt="会员中心" src="../member/templets/images/login_logo.gif"/></a></div>
  <div class="ml-3 float-right d-none d-lg-block"> <img src="../member/templets/images/530x56.gif" width="530" height="56" /></div>
</div>
</div>
<div class="container-xl my-3">
  <div class="row">
  <div class="col-12 col-md-6 bg-white py-3">
    <h3>请在这里登录</h3>
    <form name='form1' method='POST' action='index_do.php'>
      <input type="hidden" name="fmdo" value="login">
      <input type="hidden" name="dopost" value="login">
      <input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
	  
	  <div class="input-group flex-nowrap mt-3">
		  <div class="input-group-prepend">
			<span class="input-group-text" id="addon-wrapping">用户名</span>
		  </div>
		  <input id="txtUsername" name="userid" type="text" class="form-control" placeholder="用户名" aria-label="Username" aria-describedby="addon-wrapping">
		</div>
		<div class="input-group flex-nowrap my-3">
		  <div class="input-group-prepend">
			<span class="input-group-text" id="addon-wrapping">密 码</span>
		  </div>
		  <input id="txtPassword" name="pwd" type="password" class="form-control" placeholder="密码" aria-label="Username" aria-describedby="addon-wrapping">
		</div>
		<div class="input-group mb-3">
		  <div class="input-group-prepend">
			<span class="input-group-text">验证码</span>
		  </div>
		  <input id="vdcode" name="vdcode" type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
		  <div class="input-group-append">
			<span class="input-group-text"><img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清？点击更换" src="../include/vdimgck.php"/>
           看不清？ <a href="#" onclick="changeAuthCode();">点击更换</a></span>
		  </div>
		</div>
      <ul>
        <li class="my-3"> <p class="mb-3">保持登录：</p>
		<div class="form-check">
          <input type="radio" value="2592000" name="keeptime" id="ra1"/>
          <label for="ra1">一个月</label>
          <input type="radio" checked="checked" value="604800" name="keeptime" id="ra2"/>
          <label for="ra2">一周</label>
          <input type="radio" value="86400" name="keeptime"  id="ra3"/>
          <label for="ra3">一天</label>
          <input type="radio" value="0" name="keeptime"  id="ra4"/>
          <label for="ra4">即时</label>
		  </div>
		  </li>
        <li>
          <button id="btnSignCheck" class="button2" type="submit">登&nbsp;录</button>
          <a href="resetpassword.php">忘记密码？</a>
           </li>
      </ul>
    </form>
  </div>
  <div class="col-12 col-md-6 bg-light py-3">
    <p><span>还没有注册吗？</span><br />
      本站的账号都没有？你也太落伍了<br />
      赶紧去注册一个吧。</p>
    <button class="signUp" onclick="javascript:location='index_do.php?fmdo=user&dopost=regnew'">注册</button>
  </div>
</div>
</div>
<script language="javascript" type="text/javascript">
	window.onload=function (){
		setInterval("document.getElementById('time').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
	}
</script>
<div class="container-xl my-3">
  <div class="row">
  <div class="fLeft mL10">Copyright &copy; 2019-<?php echo date("Y")?> <?php echo $cfg_basehost; ?> <?php echo $cfg_webname; ?> 版权所有&nbsp;</div>
  <div class="fRight mR10" id="time"></div>
</div>
</div>
<script language="javascript" type="text/javascript" src="/templets/nbbmobi/js/jquery-3.5.1.slim.min.js" ></script> 
<script language="javascript" type="text/javascript" src="/templets/nbbmobi/js/popper.min.1.16.0.js" ></script> 
<script language="javascript" type="text/javascript" src="/templets/nbbmobi/js/bootstrap.min.js" ></script>
</body>
</html>
